Skip to content

Conversation

@justinbay
Copy link
Contributor

replace the append-based key builder with a single pre-sized buffer, avoid an extra slice allocation while leaving the returned key unchanged

@rjl493456442 rjl493456442 changed the title Optimize canonicalStore key generation to avoid extra allocation beacon/light: optimize canonicalStore key assembling Nov 27, 2025
@rjl493456442 rjl493456442 changed the title beacon/light: optimize canonicalStore key assembling beacon/light: optimize database key assembling Nov 27, 2025
@rjl493456442 rjl493456442 merged commit 6452b7a into ethereum:master Nov 27, 2025
8 of 10 checks passed
fjl pushed a commit to lightclient/go-ethereum that referenced this pull request Nov 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants